import request from "../utils/request";

/*
vite-env.d 定义了ResponseSuccess
*/
export function doLogin(admin: Admin) {
    return request.post<any, ResponseSuccess<{token:string}>>(
        "app_menu/get",
        admin        
    );
}        
